export default [
  {
    path: '/',
    redirect: '/index'
  },
  {
    path: '/index',
    name: 'Index',
    meta: {
      title: '抗疫捐款名单'
    },
    component: resolve => require(['../views/Index'], resolve)
  },
  {
    path: '/admin',
    name: 'Admin',
    meta: {
      title: '管理员入口'
    },
    component: resolve => require(['../views/Admin'], resolve)
  },
  {
    path: '/news',
    name: 'News',
    meta: {
      title: '全面打赢打好这场防疫阻击战'
    },
    component: resolve => require(['../views/News'], resolve)
  },
  // {
  //   path: '/setting',
  //   name: 'Setting',
  //   component: resolve => require(['../views/setting/Index'], resolve),
  //   meta: {
  //     title: '用户设置',
  //     requiresAuth: true
  //   }
  // },
  // {
  //   path: '/message',
  //   name: 'Message',
  //   component: resolve => require(['../views/Message'], resolve)
  // },
  // {
  //   path: '/login',
  //   name: 'Login',
  //   // meta: { title: '用户绑定' },
  //   component: resolve => require(['../views/Login'], resolve)
  // },
  // {
  //   path: '/appLogin',
  //   name: 'appLogin',
  //   component: resolve => require(['../views/appLogin'], resolve)
  // },
  // {
  //   path: '/register',
  //   name: 'Register',
  //   component: resolve => require(['../views/Register'], resolve)
  // },
  // {
  //   path: '/lisence',
  //   component: resolve => require(['../views/Lisence'], resolve)
  // },
  // {
  //   path: '/sms-call-client',
  //   component: resolve => require(['../views/SmsCallClient'], resolve)
  // },
  // {
  //   path: '/doctor-schedule',
  //   component: resolve => require(['../views/DoctorSchedule'], resolve),
  //   meta: {title: '我的排班'}
  // },
  // // 协议
  // {
  //   path: '/protocal',
  //   component: resolve => require(['../views/protocal'], resolve)
  // },
  // {
  //   path: '/recipe',
  //   component: resolve => require(['../views/Recipe'], resolve),
  //   meta: {title: '处方笺'}
  // },
  // // appDownload
  // {
  //   path:'/appDownload',
  //   component: resolve => require(['../views/appDownload'], resolve),
  //   meta:{title:'APP下载'}
  // }
]
